package prototype.persistence.pojo;

import java.util.List;
import java.io.Serializable;
import java.sql.Timestamp;


/**
 * <p>Pojo mapping TABLE USER</p>
 * <p></p>
 *
 * <p>Generated at Sun Jan 03 13:49:53 EET 2010</p>
 * @author Salto-db Generator v1.0.16 / Hibernate pojos and xml mapping files.
 * 
 */
public class User implements Serializable {

	/**
	 * Attribute id.
	 */
	private Integer id;
	
	/**
	 * Attribute name.
	 */
	private String name;
	
	/**
	 * Attribute team.
	 */
	private Integer team;
	
	/**
	 * Attribute scenario
	 */
	 private Scenario scenario;	

	/**
	 * List of Goal
	 */
	private List<Goal> goals = null;

	/**
	 * List of UserHasUnit
	 */
	private List<UserHasUnit> userHasUnits = null;

	
	/**
	 * <p> 
	 * </p>
	 * @return id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id new value for id 
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name new value for name 
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return team
	 */
	public Integer getTeam() {
		return team;
	}

	/**
	 * @param team new value for team 
	 */
	public void setTeam(Integer team) {
		this.team = team;
	}
	
	/**
	 * get scenario
	 */
	public Scenario getScenario() {
		return this.scenario;
	}
	
	/**
	 * set scenario
	 */
	public void setScenario(Scenario scenario) {
		this.scenario = scenario;
	}

	/**
	 * Get the list of Goal
	 */
	 public List<Goal> getGoals() {
	 	return this.goals;
	 }
	 
	/**
	 * Set the list of Goal
	 */
	 public void setGoals(List<Goal> goals) {
	 	this.goals = goals;
	 }
	/**
	 * Get the list of UserHasUnit
	 */
	 public List<UserHasUnit> getUserHasUnits() {
	 	return this.userHasUnits;
	 }
	 
	/**
	 * Set the list of UserHasUnit
	 */
	 public void setUserHasUnits(List<UserHasUnit> userHasUnits) {
	 	this.userHasUnits = userHasUnits;
	 }


}